package com.example.spring_vue.service.impl;

import com.example.spring_vue.mapper.TestoneMapper;
import com.example.spring_vue.pojo.Testone;
import com.example.spring_vue.service.TestoneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestoneServiceImpl implements TestoneService {

    @Autowired
    private TestoneMapper testoneMapper;

    @Override
    public Testone findById(Integer id) {
        return testoneMapper.findById(id);
    }
}
